function bindFn( scope, fn ) {

	return function () {

		fn.apply( scope, arguments );

	};

};
function cloneMesh(mesh) {
	
	var result = new THREE.Mesh(mesh.geometry, mesh.material);
	result.position = mesh.position;
	return result;
}